#pragma once
#ifndef ERROR_H
#define ERROR_H

#include <stdexcept>
#include <string>

class Error :public std::runtime_error {
public:
	Error(const std::string& msg,int line);
	int getLine(void) const;

private:
	int line;
};

#endif // !ERROR_H